package ink.metoo.gude.module.security.domain.vo

import ink.metoo.gude.module.security.domain.ddl.User
import ink.metoo.gude.module.security.domain.ddl.User.Gender
import java.util.*

class GetUserSettingVO {

    var nickname: String? = null

    var account: String? = null

    var introduction: String? = null

    var avatar: String? = null

    var email: String? = null

    var gender: Gender? = Gender.UNKNOWN

    var registerDate: Date? = null


    constructor(user: User) {
        nickname = user.nickname
        introduction = user.introduction
        account = user.account
        avatar = user.avatar
        email = user.email
        gender = user.gender
        registerDate = user.createDate
    }
}